//
//  MyLayout.h
//  15-UI-Wangyi
//
//  Created by Snow on 16/8/3.
//  Copyright © 2016年 Snow. All rights reserved.
//

#import <UIKit/UIKit.h>

@protocol GXLabelWidth <NSObject>

- (CGFloat)collectionView:(UICollectionView *)collectionView layout:(UICollectionViewLayout *)collectionViewLayout height:(CGFloat)height heightForItemAtIndexPath:(NSIndexPath *)indexPath;

@end
@interface MyLayout : UICollectionViewLayout
@property (nonatomic, weak) id<GXLabelWidth>delegate;
@end
